package jekins.study.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jishushen
 * @create 2022-02-13 18:54
 */
@RestController
public class HelloController {

    @GetMapping({"/","/index"})
    public String hello(){
        return "Hello Jekins";
    }

    @GetMapping("/test")
    public String jekins(){
        return "测试使用jekins从git拉取项目";
    }

    @GetMapping("/test2")
    public String jekins2(){
        return "测试使用jekins从git拉取项目 -- 测试";
    }

}
